package com.hk.sqlsession;

import java.io.InputStream;

import com.hk.config.MyConfiguration;
import com.hk.xmlParse.XmlConfigParse;
public class MySqlSessionFactoryBuilder {
	public  MySqlSessionFactory build(InputStream in1,InputStream in2) {
		MyConfiguration configuration = new XmlConfigParse(in1,in2).parse();
		return new MySqlSessionFactory(configuration);
	}
}
